home *** CD-ROM | disk | FTP | other *** search
/ PC-SIG Library 8 / PC-SIG Library CD-ROM (8th Edition) (1990-04).iso / 201_300 / disk0265 / okimenu.doc < prev    next >
Encoding:
Text File  |  1984-03-21  |  17.2 KB  |  509 lines

  1. F66%C081
  2.  
  3.  
  4.  
  5.        *** OKIMENU ***
  6.  
  7.  
  8.         OKIDATA  ML92
  9.  
  10.  
  11.      PRINT  CONTROL  MENU
  12.  
  13.  
  14.         USER'S  MANUAL
  15.  
  16.  
  17.  
  18.  
  19.              Version 2.94       March 20, 1984
  20.  
  21.  
  22.  
  23.  
  24.         Copyright (C)1984  BWare SoftWare EveryWare
  25.  
  26.  
  27.  
  28.  
  29.  
  30. This documentation is intended solely for use with the
  31. OKIMENU.BAS print control menu program.  Sale of either the
  32. program or this documentation is strictly prohibited.  The
  33. information in this document has been carefully compiled and
  34. tested, but no guarantee is made for its accuracy or suitability
  35. for any specific purpose or configuration.
  36.  
  37.  
  38.  
  39.  
  40.  
  41. Both OKIMENU.BAS and this documentation are made available
  42. through the Software Library of the Silicon Valley Computer
  43. Society, P.O. Box 60506, Sunnyvale, CA 94088.
  44.  
  45.  
  46. CGENERAL INFORMATIOND
  47.  
  48.  
  49. OKIMENU.BAS is an IBM-PC BASIC program which is intended to
  50. provide an easy-to-use facility for controlling the Okidata ML92
  51. dot-matrix printer.  Thirty printer features and several related
  52. printer functions are included in this program which should run
  53. on any version of PC-DOS with Disk or Advanced BASIC, although at
  54. least one function requires DOS 2.00 (or greater).  Either the
  55. monochrome or color graphics monitors may be used.  Although the
  56. program has not been tested with an Okidata ML93 printer, it
  57. should function just as well as on the ML92.  Compatibility with
  58. any other printer (including other Okidata models) would be sheer
  59. coincidence.
  60.  
  61.  
  62.  
  63. *****  OKIMENU.BAS will CNOTD function properly on a printer  *****
  64. *****  with the Okidata-IBM Plug 'n Play ROM's installed.   *****
  65.  
  66.  
  67.  
  68. OKIMENU should be run just as any other BASIC program is run on
  69. the IBM PC, using either Basic or BasicA.  Selection of the
  70. print codes and functions should be mostly self-evident, but the
  71. following additional advice is offered.
  72.  
  73.  
  74.  
  75.  
  76. CKEY USAGED
  77.  
  78.  
  79. <Enter> means the gray key with the bent arrow on the right side
  80. of the keyboard which is also called "return" or "carriage return".
  81. This key is not used when selecting items from the menu, and will
  82. normally be used only when entering responses which are more than
  83. one character in length, such as a filename.
  84.  
  85. <Esc> means the gray key between F2 and number 1 at the top left
  86. of the keyboard.  This key can be pressed at any time to "escape"
  87. from the current selection.  If pressed when on the main menu
  88. prompt, the entire screen will be cleared and rewritten.
  89.  
  90. To exit from this program, select menu item 6 to exit to your own
  91. "menu" program (if you have one), menu item 7 to exit to BASIC,
  92. or menu item 8 to exit to DOS.
  93.  
  94.  
  95. CNOTE 1D
  96.  
  97. Make sure the printer is on and selected (SEL light on) when
  98. using OKIMENU.  Although error conditions will be detected and
  99. effectively handled, there will be a 30-second timeout period if
  100. the printer is powered on but not selected.  If you use a print
  101. spooler program (SUPERSPL, SPOOL, DSPOOL, etc.), obscure problems
  102. might occur since printer errors might not be detected by
  103. OKIMENU.
  104.  
  105. CNOTE 2D
  106.  
  107. There are three conditions which can cause your Okidata ML92 to
  108. stop printing even though it appears to be in a ready state.
  109. First, if the printer receives the deselect code (DC3, decimal 19
  110. or hexadecimal 13), it will remain in the deselected state until
  111. it receives the select code (DC1, decimal 17 or hexadecimal 11).
  112. This code can be sent by choosing menu selection A (Clear print
  113. buffer & reset printer).
  114.  
  115. Second, if the printer receives the control code for the start of
  116. the VFU load sequence (DC4, decimal 20, hex 14), it will
  117. interpret all following codes as part of the VFU load sequence
  118. until it receives the termination code (?, decimal 63, hex 3F).
  119. Since it is impossible to know whether this condition has been
  120. accidentally created, the best solution is to turn off your
  121. printer if menu selection A does not make it print.  (Arbitrarily
  122. sending the termination code to the printer will cause the
  123. question mark to print if it is not in the VFU load sequence.)
  124.  
  125. Third, if the printer receives the control code for entering
  126. graphics mode (ETX, decimal 3, hex 3), nothing will print unless
  127. the appropriate graphics codes are sent to the printer.  Since
  128. the codes for exiting graphics mode (ETX-STX, decimal 3-2) will
  129. cause the printer to enter graphics mode if it is not already in
  130. that mode, the quickest solution is to turn off the printer if
  131. menu selection A does not restore normal operation.
  132.  
  133. CNOTE 3D
  134.  
  135. Once the printer has been set for the various modes of operation,
  136. it should retain those modes until it is turned off, your
  137. computer is rebooted (Ctrl-Alt-Del or power off/on), or certain
  138. programs are run which change the print modes.  Compiled BASIC
  139. programs and BASIC version 1.0 appear to completely reset the
  140. printer, and WordStar or other word processing programs may also
  141. change the print modes.
  142.  
  143. CNOTE 4D
  144.  
  145. The original User's Manuals (blue or green soft cover manuals)
  146. contain a number of errors and misconceptions.  An updated
  147. version in a three-ring binder is now available by request if you
  148. send proof of purchase (a copy of your purchase invoice) to
  149. Okidata Corporation, Marketing Services, 532 Fellowship Road,
  150. Mount Laurel, New Jersey 08054.
  151.  
  152.  
  153. PRINT CONTROL CODES FROM A to Z
  154.  
  155.  
  156. CA. Clear print buffer & reset printerD
  157.  
  158. All unprinted data in the printer buffer will be deleted.  The
  159. following power-on defaults will be reset:
  160.  
  161.      Data processing print mode
  162.      Single-width characters at 10 CPI and 6 LPI
  163.      Enhanced and emphasized print off
  164.      Superscripts and subscripts off
  165.      Underlining off
  166.      Space between characters is normal
  167.            (for Correspondence Quality print mode)
  168.  
  169. Other conditions will remain unchanged, such as the left margin
  170. setting, tab settings, page length.  Also see Note 3 above.
  171.  
  172. If printer does not print even though it appears ready, it will
  173. be necessary to use the "master reset" (turn it off and back on).
  174. See Note 2 above for further details.
  175.  
  176.  
  177. CB. Data processing print modeD
  178.  
  179. Data processing characters will be selected.
  180.  
  181.  
  182. CC. Correspondence Quality print modeD
  183.  
  184. Correspondence Quality characters will be selected.
  185.  
  186.  
  187. CD. Downloaded Character print modeD
  188.  
  189. The downloaded character set currently stored in the printer's
  190. memory will be selected.  If no characters have been downloaded,
  191. no printing will occur while this mode is selected.  Use print
  192. function 1 to download an italics character set.  Note that
  193. turning off the printer will erase the downloaded character set.
  194.  
  195.  
  196. CE. Enhanced printingD
  197.  
  198. Half-dot enhanced printing mode is turned on.  This feature can
  199. be combined with emphasized printing, but it cannot be selected
  200. if Correspondence Quality print mode is currently selected.
  201.  
  202.  
  203. CF.  Emphasized printingD
  204.  
  205. Half-dot emphasized printing mode is turned on.  This feature can
  206. be combined with enhanced printing, but it cannot be selected if
  207. Correspondence Quality print mode is currently selected.
  208.  
  209.  
  210. CG. Stop enhanced/emphasized printingD
  211.  
  212. Both enhanced and emphasized printing will be turned off.
  213.  
  214.  
  215. CH. 10 characters per inchD
  216.  
  217. 10 CPI (Pica) type size is selected.
  218.  
  219.  
  220. CI. 12 characters per inchD
  221.  
  222. 12 CPI (Elite) type size is selected.
  223.  
  224.  
  225. CJ. 17 characters per inchD
  226.  
  227. 17 CPI (Compressed) type size is selected.  Compressed print
  228. cannot be selected in Correspondence Quality print mode; if this
  229. menu item is selected in CQ mode, 10 CPI will be selected.
  230.  
  231.  
  232. CK. Double-width charactersD
  233.  
  234. Character width will be set to twice the current width:
  235.   5 CPI, 6 CPI or 8.5 CPI.
  236.  
  237. To return to single-width characters, select menu item H, I or J.
  238.  
  239.  
  240. CL. 6 lines per inchD
  241.  
  242. Six LPI is selected.  It is not necessary to change the form
  243. length (see menu item T).
  244.  
  245.  
  246. CM. 8 lines per inchD
  247.  
  248. Eight LPI is selected.  It is not necessary to change the form
  249. length (see menu item T).
  250.  
  251.  
  252. CN. Underlining onD
  253.  
  254. Continuous underlining is turned on.
  255.  
  256.  
  257. CO. Underlining offD
  258.  
  259. Underlining is turned off.
  260.  
  261.  
  262. CP. Subscripts/superscripts onD
  263.  
  264. Subscripts or superscripts will be turned on, depending on your
  265. reply to the prompt which will be issued.  If either one is
  266. already turned on, it will be turned off before turning on your
  267. new choice.
  268.  
  269.  
  270. CQ. Subscripts/superscripts offD
  271.  
  272. Subscripts or superscripts will be turned off, if either is
  273. currently turned on.
  274.  
  275.  
  276. CR. Set variable horizontal tab stopsD
  277.  
  278. You will be asked to enter the column numbers of the desired tab
  279. stops.  The columns can range from 1 to 255:  type any one-digit,
  280. two-digit or three-digit number in this range.  Press <Enter>
  281. after each column number has been typed.  The tabs will be
  282. displayed each time you press <Enter>.  When you have entered all
  283. desired tab stops, press <Enter> again and the tabs will be set.
  284.  
  285. Once you have pressed <Enter> after typing a column number, you
  286. cannot backspace to erase it.  If you change your mind, press
  287. <Esc> to return to the menu without setting any tab stops.
  288. You may then select menu item R again.
  289.  
  290. Use of this function will cause all previously set tab stops to
  291. be cleared.  You cannot set a few tab stops and then add more in
  292. a separate command.  (This is a printer limitation, not a program
  293. limitation.)
  294.  
  295. Only 14 tab stops can be set using this function (due to space
  296. limitations on the display line), although the Okidata ML92 will
  297. accept 16 tab settings.  After you have entered 14 tab stops,
  298. they will automatically be sent to the printer without asking for
  299. any more (you will not have to press <Enter> again).
  300.  
  301. A peculiar circumstance (bug) seems to exist on the Okidata ML92.
  302. Only one tab stop can be set between columns 234 and 255.
  303. Fortunately, this is a minor hindrance.  This program will not
  304. request any more tab columns once you have entered a column
  305. number greater than 233.  (If you could enter another tab
  306. setting, it would print the column number instead of setting a
  307. tab stop for it.)
  308.  
  309.  
  310. CS. Set fixed horizontal tab stopsD
  311.  
  312. You will be asked to enter the number of columns between tab
  313. stops.  Type any one-digit, two-digit or three-digit number
  314. between 1 and 254, and then press <Enter>.  A maximum of 16 tab
  315. stops can be set, but no tab stop can be set past column 255.
  316.  
  317. The tab stops will be displayed on line 24 for your review.
  318. Press any key to set the tabs and return to the menu.  All
  319. previously set tab stops will be cleared.  As noted in menu
  320. item R above, only one tab stop will be set between columns
  321. 234 and 255.
  322.  
  323.  
  324. CT. Clear all tab stopsD
  325.  
  326. All currently set tab stops will be cleared.
  327.  
  328.  
  329. CU. Set form length (for form-feeds)D
  330.  
  331. You will be asked to enter the number of lines per page in order
  332. to set the length of the form used by the form-feed (top-of-form)
  333. command.  Normal form length is 11 inches, which is obtained by
  334. setting either 66 lines per page at 6 LPI or 88 lines per page at
  335. 8 LPI.
  336.  
  337. It is strongly recommended that you select menu item L or M
  338. before using this selection, so that the current number of lines
  339. per page can be ascertained.  The prompt will display the current
  340. setting:  6 LPI or 8 LPI if known, or "?" if not known.
  341.  
  342. Note that setting 66 lines per page at 8 LPI results in a form
  343. length of 8.25 inches, while setting 88 lines per page at 6 LPI
  344. results in a form length of 14.67 inches.
  345.  
  346. Any number of lines per page from zero to 99 can be selected.
  347. Setting the form length to zero cancels any previous setting and
  348. restores the setting of the FORM LENGTH dial on the front of the
  349. printer.
  350.  
  351. This command does CNOTD set the number of lines which will
  352. be printed on a page, since that is determined by the program
  353. which is doing the printing.
  354.  
  355.  
  356. CV. Set top-of-formD
  357.  
  358. The top-of-form position used by the form-feed command will be
  359. set at the current paper position.  This is the same as pressing
  360. the TOF SET button on the front of the printer.  Top-of-form will
  361. also be set when the printer is turned on.
  362.  
  363.  
  364. CW. Advance to top-of-formD
  365.  
  366. The paper in the printer will be advanced to the next top-of-form
  367. as determined by the current form length and top-of-form settings
  368. (refer to menu items U and V).  This is the same as pressing the
  369. FORM FEED button on the front of the printer.
  370.  
  371.  
  372. CX.  Skip 01-99 linesD
  373.  
  374. You can skip zero to 99 lines.  Just type any one- or two-digit
  375. number and press <Enter>.  Skipping zero lines is the same as
  376. doing nothing at all.  Skipping 1 to 99 lines is the same as
  377. pressing the LINE FEED button on the front of the printer 1 to 99
  378. times.
  379.  
  380.  
  381. CY. Set left marginD
  382.  
  383. Type any one- or two-digit number from 1 to 90 and press <Enter>
  384. to set the left margin.  All subsequent printing will begin
  385. in the specified column number.
  386.  
  387. This setting is not changed by the reset printer command (menu
  388. item A), so it must be specifically changed by this menu item if
  389. you wish to have a different left margin.  Turning off the
  390. printer will, of course, reset the left margin to column one.
  391.  
  392.  
  393. CZ. Set space between charactersD
  394.  
  395. This setting applies only to Correspondence Quality print mode.
  396.  
  397. Type any one-digit number to set the space between characters in
  398. multiples of 1/120th of an inch.  Zero will reset the spacing to
  399. normal.
  400.  
  401.  
  402. PRINT-RELATED FUNCTIONS 1 to 8
  403.  
  404.  
  405. C1. Download Italics character setD
  406.  
  407. The program named OKITALIC.BAS will be loaded from disk to begin
  408. the download of the 96-character Italics character set, which
  409. will take approximately 12 seconds.  Once Italics have been
  410. downloaded into the printer, they can be used by switching to the
  411. Downloaded Character print mode (menu item D).
  412.  
  413. If OKITALIC.BAS is not on the diskette in the default drive, you
  414. will be asked for the letter of the drive containing the program.
  415. Once the download has been completed, OKIMENU.BAS will be
  416. reloaded and the menu screen will be rewritten.
  417.  
  418.  
  419. C2. Print test--all ASCII charactersD
  420.  
  421. All printable ASCII values (decimal 32 to 127) will be printed,
  422. using the current print mode settings.
  423.  
  424.  
  425. C3. Print an ASCII text fileD
  426.  
  427. This function provides a simple way to print normal ASCII text
  428. files.  Tokenized BASIC programs cannot be printed by this
  429. function; use the ASCII format option to save BASIC programs for
  430. printing (SAVE "PROG",A).  Files created in WordStar's document
  431. mode can be printed, but probably will not be formatted correctly
  432. unless the "soft" carriage-returns are replaced by "hard"
  433. carriage-returns.  Text files from other word processing programs
  434. may or may not print correctly.
  435.  
  436. You must first enter the number of print lines per page.  Just
  437. press <Enter> if the text file already contains the necessary
  438. form-feeds.  Otherwise, enter the number of lines you would like
  439. printed on each page; 54 lines at 6 LPI or 72 lines at 8 LPI on
  440. an 11-inch page are usually good values.  You must, of course,
  441. have set your choice of lines per page and the form length prior
  442. to using this function (using menu items L, M and U).
  443.  
  444. You will then be asked for the name of the file you want to
  445. print.  Be sure to type the complete filename (including the disk
  446. drive identifier if not on the default drive) and the filename
  447. extension.  For example, type B:OKIMENU.DOC, then press <Enter>.
  448.  
  449. If you type the filename incorrectly, or fail to specify the
  450. drive identifier, or the file does not contain any data, or the
  451. file is a tokenized BASIC program or other non-text file, an
  452. error message will be displayed, and you will be asked to type
  453. the name of the ASCII text file again.  Press <Esc> if you do not
  454. wish to print any file.  You can use print function 5 if you do
  455. not remember the name of the file you want to print.
  456.  
  457. If the specified text file is found, it will begin to print.
  458. Please note that CNOD leading form-feed will be sent to the
  459. printer, even if one is contained in the file, so you must
  460. position the paper where you want printing to start before using
  461. this function.  Form-feeds will be used between pages (if the
  462. number of print lines per page was entered), AND at the end of
  463. the printing.
  464.  
  465. You can terminate printing at any time by pressing <Esc>, but
  466. please note that printing may continue if you are using a print
  467. spooler/buffer.
  468.  
  469.  
  470. C4. Print disk directory (BASIC 2.00)D
  471.  
  472. This function can be used only in BASIC 2.00 and DOS 2.00 (or
  473. higher).  It will print the directory and disk space usage using
  474. the BASIC SHELL command and the DOS DIR and CHKDSK commands with
  475. output redirected to the printer.  Correspondence Quality print
  476. mode at 12 CPI and 8 LPI will be used to print the information
  477. starting in column one.
  478.  
  479. You must specify a disk drive letter:  only A through D are
  480. valid.  If the drive is not ready, you will get the DOS error
  481. message asking for "Abort, Retry or Ignore"; A or R is the
  482. recommended response.
  483.  
  484.  
  485. C5. Display disk directoryD
  486.  
  487. You must specify the drive letter of the desired disk:  only A
  488. through D are valid.  The directory will be displayed using the
  489. BASIC FILES command.  This function serves mainly as an aid in
  490. identifying files for menu item 3.
  491.  
  492.  
  493. C6. Exit to MENUD
  494.  
  495. This function can be used to exit OKIMENU and run your own
  496. MENU.BAS program (if you have one).  If MENU.BAS is not on the
  497. default drive, you will be asked for the correct drive letter.
  498.  
  499.  
  500. C7. Exit to BASICD
  501.  
  502. This function will clear the screen and exit from OKIMENU to
  503. BASIC in text mode with color enabled.
  504.  
  505.  
  506. C8. Exit to DOSD
  507.  
  508. This function will clear the screen and exit to DOS.
  509.